const ruleData = {
  waybillStatus: {
    "TRANSPORTING": "运输中",
    "SIGNED": "已签收",
    "RECEIVED": "已取件",
    "SENDING": "派送中"
  },
  ruleStatus: [{
      key: "全部",
      value: ""
    },
    {
      key: "未启用",
      value: "INITIAL"
    },
    {
      key: "布控中",
      value: "RUNNING"
    },
    {
      key: "已过期",
      value: "EXPIRED"
    },
    {
      key: "已禁用",
      value: "FORBIDDEN"
    }
  ],
  modelType: [{
      label: "其他",
      value: "其他"
    },
    {
      label: "诈保",
      value: "诈保"
    }, {
      label: "涉毒",
      value: "涉毒"
    }, {
      label: "制假",
      value: "制假"
    }, {
      label: "违法违规",
      value: "违法违规"
    }
  ],
  paymentTypeCodes: [{
      label: "寄付",
      value: "1"
    },
    {
      label: "到付",
      value: "2"
    },
    {
      label: "第三方付",
      value: "3"
    }
  ],
  settlementTypeCodes: [{
      label: "现结",
      value: "1"
    },
    {
      label: "月结",
      value: "2"
    }
  ],
  consNames: [{
      label: "文件",
      value: "2"
    },
    {
      label: "衣服",
      value: "3"
    },
  ],
  contact: [{
      value: "0",
      label: "寄件人与收件人电话号码一致"
    }, {
      value: "1",
      label: "寄件人电话号码不在归属地寄件"
    }, {
      value: "2",
      label: "寄件人电话号码为伪装号码"
    }, {
      value: "3",
      label: "收件人电话号码为伪装号码"
    },
    // {
    //   value: "4",
    //   label: "寄件人电话为无效号码"
    // },{
    //   value: "5",
    //   label: "收件人电话为无效号码"
    // }
  ],
  name: [{
      value: "0",
      label: "寄件人与收件人姓名一致"
    }, {
      value: "1",
      label: "寄件人姓名为空"
    }, {
      value: "2",
      label: "收件人姓名为空"
    }

  ],
  company: [{
    id: 21,
    label: "顺丰",
    companyCode: "sf"
  }, {
    id: 22,
    label: "安能",
    companyCode: "ane"
  }, {
    id: 23,
    label: "百世汇通",
    companyCode: "bsht"
  }, {
    id: 24,
    label: "德邦",
    companyCode: "db"
  }, {
    id: 25,
    label: "邮政",
    companyCode: "ems"
  }, {
    id: 26,
    label: "华宇",
    companyCode: "hy"
  }, {
    id: 27,
    label: "佳吉",
    companyCode: "jj"
  }, {
    id: 28,
    label: "跨越速运",
    companyCode: "ky"
  }, {
    id: 29,
    label: "民航",
    companyCode: "mh"
  }, {
    id: 30,
    label: "品骏",
    companyCode: "pj"
  }, {
    id: 31,
    label: "全一",
    companyCode: "qy"
  }, {
    id: 32,
    label: "盛辉物流",
    companyCode: "shwl"
  }, {
    id: 33,
    label: "申通",
    companyCode: "st"
  }, {
    id: 34,
    label: "韵达",
    companyCode: "yd"
  }, {
    id: 35,
    label: "圆通",
    companyCode: "yt"
  }, {
    id: 36,
    label: "宅急送",
    companyCode: "zjs"
  }, {
    id: 37,
    label: "中通",
    companyCode: "zt"
  }, {
    id: 38,
    label: "天天",
    companyCode: "tt"
  }],
}

const waybillRuleData = {
  contact: [{
    value: "same_phone",
    label: "寄件人与收件人电话号码一致"
  }, {
    value: "send_city_mobile_city_diff",
    label: "寄件人电话号码不在归属地寄件"
  }, {
    value: "sender_mobile_invalid",
    label: "寄件人电话号码为伪装号码"
  }, {
    value: "receiver_mobile_invalid",
    label: "收件人电话号码为伪装号码"
  }, {
    value: "sender_phone_invalid",
    label: "寄件人电话为无效号码"
  }, {
    value: "receiver_phone_invalid",
    label: "收件人电话号码为无效号码"
  }],
  name: [{
    value: "same_name",
    label: "寄件人与收件人姓名一致"
  }, {
    value: "sender_name_empty",
    label: "寄件人姓名为空"
  }, {
    value: "receiver_name_empty",
    label: "收件人姓名为空"
  }]
}

const ruleStatusMap = {
  modelType: {
    "诈保": "诈保",
    "涉毒": "涉毒",
    "制假": "制假",
    "违法违规": "违法违规"
  },
  paymentTypeCodes: {
    "1": "寄付",
    "2": "到付",
    "3": "第三方付"
  },
  settlementTypeCodes: {
    "1": "现结",
    "2": "月结",
  },
  consNames: {
    "2": "文件",
    "3": "衣服"
  },
  contact: ["寄件电话", "收件电话", "寄件手机", "收件手机"],
  name: ["寄件姓名", "收件姓名"],
  addr: ["寄件地址", "收件地址"],
  addresseeMobile: {
    "2": "寄件人与收件人移动电话一致",
    "3": "收件人移动电话为伪装号码"
  },
  consignorMobile: {
    "0": "寄件人移动电话不在归属地寄件",
    "2": "寄件人与收件人移动电话一致",
    "3": "寄件人移动电话为伪装号码"
  },
  addresseePhone: {
    "0": "收件人与寄件人固话一致"
  },
  consignorPhone: {
    "0": "寄件人与收件人固话一致"
  },
  consignorContName: {
    "0": "寄件人姓名为空",
    "1": "寄件人与收件人姓名一致"
  },
  addresseeContName: {
    "0": "收件人姓名为空",
    "1": "寄件人与收件人姓名一致"
  }
}

const baidu = {
  ak: "9szZadwnTDfp3eLso4Y8hwAcCmr064fF"
}

const routerStartus = {
  "已签收": ["80", "8000"],
  "派送中": ["44", "34", "33", "122", "123", "630", "640", "83", "47", "634", "125", "204", "70_5", "70_7", "70_65"],
  "已取件": ["50", "54"],
  "运送中": ["30", "70", "31", "36"],
}

const region = [{
  value: '110000',
  label: '北京市'
}, {
  value: '120000',
  label: '天津市'
}, {
  value: '130000',
  label: '河北省'
}, {
  value: '140000',
  label: '山西省'
}, {
  value: '150000',
  label: '内蒙古自治区'
}, {
  value: '210000',
  label: '辽宁省'
}, {
  value: '220000',
  label: '吉林省'
}, {
  value: '230000',
  label: '黑龙江省'
}, {
  value: '310000',
  label: '上海市'
}, {
  value: '320000',
  label: '江苏省'
}, {
  value: '330000',
  label: '浙江省'
}, {
  value: '340000',
  label: '安徽省'
}, {
  value: '350000',
  label: '福建省'
}, {
  value: '360000',
  label: '江西省'
}, {
  value: '370000',
  label: '山东省'
}, {
  value: '410000',
  label: '河南省'
}, {
  value: '420000',
  label: '湖北省'
}, {
  value: '430000',
  label: '湖南省'
}, {
  value: '440000',
  label: '广东省'
}, {
  value: '450000',
  label: '广西壮族自治区'
}, {
  value: '460000',
  label: '海南省'
}, {
  value: '500000',
  label: '重庆市'
}, {
  value: '510000',
  label: '四川省'
}, {
  value: '520000',
  label: '贵州省'
}, {
  value: '530000',
  label: '云南省'
}, {
  value: '540000',
  label: '西藏自治区',
  disabled: true
}, {
  value: '610000',
  label: '陕西省'
}, {
  value: '620000',
  label: '甘肃省'
}, {
  value: '630000',
  label: '青海省'
}, {
  value: '640000',
  label: '宁夏回族自治区'
}, {
  value: '650000',
  label: '新疆维吾尔自治区',
  disabled: true
}]
export {
  ruleData,
  waybillRuleData,
  baidu,
  routerStartus,
  ruleStatusMap,
  region,
};